package com.lldpet.spring.cloud.demo.store.service.config;

import com.lldpet.spring.cloud.demo.store.client.event.StoreUpdateEvent;
import org.springframework.cloud.bus.event.AckRemoteApplicationEvent;
import org.springframework.cloud.bus.event.SentApplicationEvent;
import org.springframework.cloud.bus.jackson.RemoteApplicationEventScan;
import org.springframework.context.annotation.Configuration;

/**
 * @desc：BusConfiguration
 * @author: guanliang.xue
 * @date: 2021/5/10 10:39
 * @version:
 * @since:
 */
@Configuration
@RemoteApplicationEventScan(basePackageClasses = {StoreUpdateEvent.class, AckRemoteApplicationEvent.class, SentApplicationEvent.class})
public class BusConfiguration {
}
